package org.redhat.auth.security.taglibs;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts2.views.TagLibrary;

import com.opensymphony.xwork2.util.ValueStack;

/**
 * Spring security taglibs for starts2-freemarker
 * 
 * @author lingen.liu
 * 
 */
public class SpringSecurityTagLibrary implements TagLibrary {

	public Object getFreemarkerModels(ValueStack stack, HttpServletRequest req,
			HttpServletResponse res) {
		return new AuthSpringSecurityModel(stack, req, res);
	}

	public List<Class> getVelocityDirectiveClasses() {
		return null;
	}

}
